import { StoreContext } from "@/store"
import { StoreContextProvider as ListContextProvider } from "@whzhuke/antd"
import React, { PropsWithChildren, useContext } from "react"
export const ListProvider: React.FC<PropsWithChildren> = props => {
  const { ListStore } = useContext(StoreContext)
  return <ListContextProvider store={ListStore}>{props.children}</ListContextProvider>
}
